package com.ysjy.course.model;

import com.wkbb.common.handler.JsonUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("课程评价（课堂反馈）")
public class CourseFeedback implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "服务标识（机构课程uniqueId or 托管uniqueId）")
    private String serviceUniqueId;
    @ApiModelProperty(value = "学生ID")
    private Long studentId;
    @ApiModelProperty(value = "喜爱度（1-10分，1星=2分）")
    private int likeability;
    @ApiModelProperty(value = "满意度（1-10分，1星=2分）")
    private int satisficing;
    @ApiModelProperty(value = "互动情况（1-10分，1星=2分）")
    private int interact;
    @ApiModelProperty(value = "教学成果（1-10分，1星=2分）")
    private int teaching;
    @ApiModelProperty(value = "喜欢上课的老师 1喜欢 2不喜欢")
    private Integer likeTeacher;
    @ApiModelProperty(value = "老师会表扬吗 1会 2不会")
    private Integer praise;
    @ApiModelProperty(value = "老师经常提问吗 1会 2不会")
    private Integer oftenAskQuestions;
    @ApiModelProperty(value = "分享课堂内容 1会 2不会")
    private Integer share;
    @ApiModelProperty(value = "下学期会继续报名该课程 1会 2不会")
    private Integer learnAgain;
    @ApiModelProperty(value = "补充说明")
    private String feedbackExplain;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public static void main(String[] args) {
        CourseFeedback data = new CourseFeedback();
        data.setServiceUniqueId("2022070717096750");
        data.setStudentId(1272392L);
        data.setLikeability(9);
        data.setSatisficing(9);
        data.setInteract(9);
        data.setTeaching(9);
        data.setLikeability(1);
        data.setPraise(1);
        data.setOftenAskQuestions(1);
        data.setShare(1);
        data.setLearnAgain(1);
        System.out.println(JsonUtil.objectToJson(data));
    }
}